package cn.iocoder.devlop.module.annual.report.entuser.convert;

import cn.iocoder.devlop.framework.common.pojo.PageResult;
import cn.iocoder.devlop.module.annual.report.entuser.controller.vo.EntuserBaseVO;
import cn.iocoder.devlop.module.annual.report.entuser.controller.vo.EntuserExcelVO;
import cn.iocoder.devlop.module.annual.report.entuser.controller.vo.EntuserRespVO;
import cn.iocoder.devlop.module.annual.report.entuser.dal.dataobject.EntuserDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 用户信息 Convert
 *
 * @author sunhao
 */
@Mapper
public interface EntuserConvert {

    EntuserConvert INSTANCE = Mappers.getMapper(EntuserConvert.class);

    EntuserDO convert(EntuserBaseVO bean);

    EntuserRespVO convert(EntuserDO bean);

    List<EntuserRespVO> convertList(List<EntuserDO> list);

    PageResult<EntuserRespVO> convertPage(PageResult<EntuserDO> page);

    List<EntuserExcelVO> convertList02(List<EntuserDO> list);

}
